package com.ruoyi.archives.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 校外供餐单位管理对象 tb_catering_unit
 *
 * @author wng
 * @date 2024-08-04
 */
public class CateringUnit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;
    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 供餐单位名称
     */
    @Excel(name = "供餐单位名称")
    private String name;

    /**
     * 食品经营许可证复印件图片或备案证明
     */
    @Excel(name = "食品经营许可证复印件图片或备案证明", cellType = Excel.ColumnType.IMAGE)
    private String fBLicense;

    /**
     * 供餐合同/协议文件
     */
    @Excel(name = "供餐合同/协议文件", cellType = Excel.ColumnType.IMAGE)
    private String contract;

    /**
     * 单位地址
     */
    @Excel(name = "单位地址")
    private String address;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contactName;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    private String contactPhone;

    /**
     * 0正常 1退出
     */
    @Excel(name = "0正常 1退出")
    private Integer status;

    /**
     * 0正常 1删除
     */
    private Integer delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setfBLicense(String fBLicense) {
        this.fBLicense = fBLicense;
    }

    public String getfBLicense() {
        return fBLicense;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }

    public String getContract() {
        return contract;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("name", getName())
                .append("fBLicense", getfBLicense())
                .append("contract", getContract())
                .append("address", getAddress())
                .append("contactName", getContactName())
                .append("contactPhone", getContactPhone())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
